home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 38 / Amiga Format CD38 (1999-03-15)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-04].iso / -in_the_mag- / reader_requests / dice_v3.15 / lib / amigalib / printf.c < prev    next >
C/C++ Source or Header  |  1999-01-26  |  481b  |  28 lines

  1.  
  2. /*
  3.  *  PRINTF.C    dos.library var-args interface to VPrintf()
  4.  *
  5.  *    (c)Copyright 1992-1997 Obvious Implementations Corp.  Redistribution and
  6.  *    use is allowed under the terms of the DICE-LICENSE FILE,
  7.  *    DICE-LICENSE.TXT.
  8.  *
  9.  */
  10.  
  11. #include <stdio.h>
  12. #include <stdarg.h>
  13. #include <exec/types.h>
  14. #include <clib/dos_protos.h>
  15.  
  16. LONG
  17. Printf(unsigned char *ctl, ...)
  18. {
  19.     va_list va;
  20.     int n;
  21.  
  22.     va_start(va, ctl);
  23.     n = VPrintf(ctl, va);
  24.     va_end(va);
  25.     return(n);
  26. }
  27.  
  28.